package com.wang;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.stream.IntStream;

/**
 * @author 飞
 */
public class Test {
    public static final Logger LOGGER = LoggerFactory.getLogger(Test.class);
    public static void main(String[] args) {
        IntStream.range(0, 10000).forEach(i -> {
            LOGGER.trace("trace");
            LOGGER.debug("debug"); // 默认输出级别
            LOGGER.info("info");
            LOGGER.warn("warn");
            LOGGER.error("error");
        });
    }

}
